package org.example.auth.api;

import org.example.auth.api.module.LoginMember;
import org.example.core.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 小杰_cc
 * @version 1.0
 */
@FeignClient("member-service")
public interface MemberService {

    @PostMapping("/ums/front/member/login")
    R<LoginMember> login(@RequestBody String phone);
}
